﻿//SmartAddresses.cs
//Copyright (c) 2013 StockSharp LLC, all rights reserved.
//This code module is part of StockSharp library.
//This code is licensed under the GNU GENERAL PUBLIC LICENSE Version 3.
//See the file License.txt for the license details.
//More info on: http://stocksharp.com

namespace StockSharp.Smart
{
	using System.Net;

	using Ecng.Common;

	/// <summary>
	/// Адреса серверов системы SmartCOM. Описание доступно по адресу http://www.itinvest.ru/services/internet_trading/trade-servers/.
	/// </summary>
	public static class SmartAddresses
	{
		/// <summary>
		/// Порт сервера по умолчанию, равный 8090.
		/// </summary>
		public const int DefaultPort = 8090;

		/// <summary>
		/// Основной сервер. IP адрес 82.204.220.34, порт 8090.
		/// </summary>
		public static readonly EndPoint Major = "82.204.220.34:8090".To<EndPoint>();

		/// <summary>
		/// Вспомагательный сервер. IP адрес 213.247.232.238, порт 8090.
		/// </summary>
		public static readonly EndPoint Minor = "213.247.232.238:8090".To<EndPoint>();

		/// <summary>
		/// Резервный сервер. IP адрес 87.118.223.109, порт 8090.
		/// </summary>
		public static readonly EndPoint Reserv = "87.118.223.109:8090".To<EndPoint>();

		/// <summary>
		/// Cервер сталкера. IP адрес 89.175.35.230, порт 8090.
		/// </summary>
		public static readonly EndPoint Stalker = "89.175.35.230:8090".To<EndPoint>();

		/// <summary>
		/// Демо сервер. IP адрес 95.131.26.246, порт 8090.
		/// </summary>
		public static readonly EndPoint Demo = "95.131.26.246:8090".To<EndPoint>();
	}
}